package com.mm.vo.web.user;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 描述:
 *
 * @author: yanglin
 * @Date: 2021-08-06-16:41
 * @Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class RoleVo implements Serializable {

    /**
     * value
     */
    public String value;

    /**
     * 名称
     */
    public String title;

    /**
     * 是否禁用
     */
    public boolean disabled = false;

    /**
     * 是否拥有
     */
    public boolean checked = false;

    @Builder
    public RoleVo(String value, String title, boolean disabled, boolean checked) {
        this.value = value;
        this.title = title;
        this.disabled = disabled;
        this.checked = checked;
    }
}
